<%--
  Created by IntelliJ IDEA.
  User: zxbsp
  Date: 2017/5/19
  Time: 0:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<html>
<head>
    <title>党员候选人投票</title>
    <!-- 投票页样式 -->
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/modules/cms/front/themes/party/vote.css">
    <script type="text/javascript" src="${ctxStatic}/jquery/jquery-1.9.1.js"></script>

</head>
<body>
<div id="jqContent">
    <!-- 中央区域 -->
    <div id="mainCss">
        <div id="box">
            <div class="survey">
                <div class="survey_head">
                    <h1>党员民主评议测评表</h1>
                </div>

                <div class="survey_content">
                    <form class="layui-form">
                        <fieldset>
                            <c:forEach items="${questions}" var="question">
                                <div class="question">
                                    <div class="question_title">
                                        ${question.name}
                                        <span class="req">&nbsp * </span>
                                    </div>
                                    <div class="question_table">
                                        <table>
                                            <thead>
                                            <tr>
                                                <th></th>
                                                <th class="vote_level" colspan="3">差</th>
                                                <th class="vote_level" colspan="3">中</th>
                                                <th class="vote_level" colspan="3">好</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                                <c:forEach items="${candidates}" var="candidate">
                                                    <tr class="voted_name tr_with_underline">
                                                        <th>${candidate.vcName}</th>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="35" title="35" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="45" title="45" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="55" title="55" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="60" title="60" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="70" title="70" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="80" title="80" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="90" title="90" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="95" title="95" name="${candidate.id},${question.id}">
                                                        </td>
                                                        <td>
                                                            <%--<a href="javascript:" class="jqRadio" style="position: static;"></a>--%>
                                                            <input type="radio" value="100" title="100" name="${candidate.id},${question.id}">
                                                        </td>
                                                    </tr>
                                                </c:forEach>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </c:forEach>

                        </fieldset>


                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
<script type="text/javascript" src="${ctxStatic}/modules/cms/front/themes/party/vote.js"></script>
</body>
</html>
